package com.globallogic.javatrainings.sergiiivanov.tests;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

import com.globallogic.javatrainings.sergiiivanov.controller.UniversityTemplates;
import com.globallogic.javatrainings.sergiiivanov.model.University;
import com.globallogic.javatrainings.sergiiivanov.model.UniversityFailure;
import com.globallogic.javatrainings.sergiiivanov.model.UniversityWarning;

public class ScoresProcessorTest {

    @Test
    public void test() throws UniversityFailure, UniversityWarning {
        University u = UniversityTemplates.universityTemplte1();
        assertEquals(3, u.students.getStudentByIndex(0).getAverageScore().length);
    }

}
